package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.IJournalisteDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Journaliste;

@Service( "journalisteService" )
public class JournalisteService extends ServiceGeneric<Journaliste, String>
        implements IJournalisteService {

    @Autowired
    private transient IJournalisteDao journalisteDao;

    public JournalisteService() {

    }

    @Override
    public IDaoGeneric<Journaliste, String> getDAO() {
        // TODO Auto-generated method stub
        return journalisteDao;
    }

}
